Skip to content

Conversation

@IanButterworth
Copy link
Member

@IanButterworth
Copy link
Member Author

IanButterworth commented Sep 29, 2025

Clippy failures addressed in #1259

@IanButterworth

This comment was marked as resolved.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds functionality to suppress Julia update messages when running in non-interactive mode, addressing issue #1256. The change prevents update notifications from appearing when Julia is run with command-line arguments like --version or -e.

  • Added test infrastructure methods for accessing config paths and depot directories
  • Implemented comprehensive tests to verify update message suppression in non-interactive scenarios
  • Added test coverage for both single channel and multi-channel update scenarios

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
tests/utils.rs Added helper methods to access config file path and depot directory path
tests/command_update.rs Added comprehensive tests verifying update messages don't appear in non-interactive Julia usage

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@IanButterworth IanButterworth requested a review from Keno October 1, 2025 16:19
@IanButterworth
Copy link
Member Author

I think the src changes are simple enough here. Review still welcome but I'm going to proceed.

@IanButterworth IanButterworth merged commit a1f57b1 into main Oct 3, 2025
28 checks passed
@davidanthoff davidanthoff deleted the ib/no_update_msg branch November 4, 2025 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suppressing the Juliaup outdated Julia version message

1 participant